﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using JM.JCY.BusinessEntity;
namespace JM.JCY.Common
{
    public interface INews
    {
        NewsDataSet.T_AnnouncementDataTable GetNews(string subject, string category, string status, DateTime? startDate, DateTime? endDate);
        void UpdateNews(NewsDataSet.T_AnnouncementDataTable dt);
        NewsDataSet.T_AnnouncementDataTable GetNewsById(int newsId);
        NewsDataSet.T_NewsDataTable GetNewsForHome(string category, int count);
        NewsDataSet.T_AnnouncementDataTable GetSpeechForHome(int count);
     
       

    }
}
